package com.fourth.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author 邓建波
 * @since 2022-08-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_bank_card")
@ApiModel(value = "BankCard对象", description = "银行卡对象")
public class BankCard implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "银行卡编号")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "银行卡号")
    private String cardId;

    @ApiModelProperty(value = "银行卡所属银行")
    private String bank;

    @ApiModelProperty(value = "银行卡类别码")
    private Integer type;

    @ApiModelProperty(value = "银行卡状态码")
    private Integer state;

    @ApiModelProperty(value = "拥有者手机号")
    private String phone;

    @ApiModelProperty(value = "拥有者名称")
    private String ownerName;

    @ApiModelProperty(value = "拥有者身份证号")
    private String ownerId;

    @ApiModelProperty(value = "银行卡密码")
    private String cardPassword;

    @ApiModelProperty(value = "银行卡余额")
    private BigDecimal cardBalance;
}
